﻿// ***********************************************************************
// Assembly         : MVC4Portal
// Author           : Lolo
// Created          : 07-17-2013
//
// Last Modified By : Lolo
// Last Modified On : 09-21-2013
// ***********************************************************************
// <copyright file="RegisterDynamic.cs" company="">
//     Copyright (c) . All rights reserved.
// </copyright>
// <summary></summary>
// ***********************************************************************
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using InnovaApp.Layers.ResourcesLayer.Properties;
using InnovaApp.Portals.MVC4Portal.Models.ClientFilesGenerationModels;

namespace InnovaApp.Portals.MVC4Portal.Controllers.ClientFilesGenerationControllers
{
    /// <summary>
    /// Class ScriptsGController.
    /// </summary>
    public partial class ScriptsGController : _ClientFilesGenerationControllers_Base
    {
        /// <summary>
        /// GET: /ScriptsG/RegisterDynamic.js
        /// </summary>
        /// <returns>ActionResult.</returns>
        public ActionResult RegisterDynamic(string language)
        {
            LocalizeDynamicScripts(language);
            toReturn.Variables.Add("ControllerName", "Register");
            toReturn.Variables.Add("cap_Available", Resources.View_Register_Available);
            toReturn.Variables.Add("cap_NotAvailable", Resources.View_Register_NotAvailable);
            Response.ContentType = "text/javascript";
            return View(toReturn);
        }
    }
}